home *** CD-ROM | disk | FTP | other *** search
/ Apple Software Dispatch / Apple Software Dispatch.iso / Software Dispatch Files / Resolve / Sample Application / Sample Application.rsrc / WDEF_11_Main.txt < prev   
Text File  |  1993-07-15  |  5KB  |  93 lines

  1. start:
  2. 00000000  4E56 0000                link       A6, 0
  3. 00000004  48E7 0718                movem.l    -[A7], D5,D6,D7,A3,A4
  4. 00000008  3C2E 000C                move.w     D6, [A6 + 0xC]
  5. 0000000C  286E 000E                movea.l    A4, [A6 + 0xE]
  6. 00000010  7E00                     moveq.l    D7, 0x00
  7. 00000012  0C46 0001                cmpi.w     D6, 0x1
  8. 00000016  6628                     bne        +0x2A /* 00000040 */
  9. 00000018  558F                     subq.l     A7, 2
  10. 0000001A  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  11. 0000001E  2F2C 0076                move.l     -[A7], [A4 + 0x76]
  12. 00000022  A8E8                     syscall    PtInRgn
  13. 00000024  4A1F                     tst.b      [A7]+
  14. 00000026  6704                     beq        +0x6 /* 0000002C */
  15. 00000028  7E01                     moveq.l    D7, 0x01
  16. 0000002A  6058                     bra        +0x5A /* 00000084 */
  17. label0000002C:
  18. 0000002C  558F                     subq.l     A7, 2
  19. 0000002E  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  20. 00000032  2F2C 0072                move.l     -[A7], [A4 + 0x72]
  21. 00000036  A8E8                     syscall    PtInRgn
  22. 00000038  4A1F                     tst.b      [A7]+
  23. 0000003A  6748                     beq        +0x4A /* 00000084 */
  24. 0000003C  7E02                     moveq.l    D7, 0x02
  25. 0000003E  6044                     bra        +0x46 /* 00000084 */
  26. label00000040:
  27. 00000040  598F                     subq.l     A7, 4
  28. 00000042  2F0C                     move.l     -[A7], A4
  29. 00000044  A917                     syscall    GetWRefCon
  30. 00000046  265F                     movea.l    A3, [A7]+
  31. 00000048  200B                     move.l     D0, A3
  32. 0000004A  6738                     beq        +0x3A /* 00000084 */
  33. 0000004C  2F0B                     move.l     -[A7], A3
  34. 0000004E  A9A2                     syscall    LoadResource
  35. 00000050  558F                     subq.l     A7, 2
  36. 00000052  A9AF                     syscall    ResError
  37. 00000054  4A5F                     tst.w      [A7]+
  38. 00000056  662C                     bne        +0x2E /* 00000084 */
  39. 00000058  558F                     subq.l     A7, 2
  40. 0000005A  2F0B                     move.l     -[A7], A3
  41. 0000005C  4EBA 005C                jsr        [PC + 0x5C /* 000000BA */]
  42. 00000060  1A1F                     move.b     D5, [A7]+
  43. 00000062  2F0B                     move.l     -[A7], A3
  44. 00000064  4EBA 004A                jsr        [PC + 0x4A /* 000000B0 */]
  45. 00000068  598F                     subq.l     A7, 4
  46. 0000006A  3F2E 0012                move.w     -[A7], [A6 + 0x12]
  47. 0000006E  2F0C                     move.l     -[A7], A4
  48. 00000070  3F06                     move.w     -[A7], D6
  49. 00000072  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  50. 00000076  2053                     movea.l    A0, [A3]
  51. 00000078  4E90                     jsr        [A0]
  52. 0000007A  2E1F                     move.l     D7, [A7]+
  53. 0000007C  2F0B                     move.l     -[A7], A3
  54. 0000007E  1F05                     move.b     -[A7], D5
  55. 00000080  4EBA 0042                jsr        [PC + 0x42 /* 000000C4 */]
  56. label00000084:
  57. 00000084  2D47 0014                move.l     [A6 + 0x14], D7
  58. 00000088  4CEE 18E0 FFEC           movem.l    D5,D6,D7,A3,A4, [A6 - 0x14]
  59. 0000008E  4E5E                     unlink     A6
  60. 00000090  205F                     movea.l    A0, [A7]+
  61. 00000092  DEFC 000C                add.w      A7, 0xC
  62. 00000096  4ED0                     jmp        [A0]
  63. 00000098  225F                     movea.l    A1, [A7]+
  64. 0000009A  201F                     move.l     D0, [A7]+
  65. 0000009C  A04C                     syscall    CompactMem
  66. 0000009E  2E80                     move.l     [A7], D0
  67. 000000A0  4E71                     nop
  68. 000000A2  7000                     moveq.l    D0, 0x00
  69. label000000A4:
  70. 000000A4  2F09                     move.l     -[A7], A1
  71. label000000A6:
  72. 000000A6  31C0 0220                move.w     [0x00000220 /* MemErr */], D0
  73. 000000AA  4E75                     rts
  74. 000000AC  7000                     moveq.l    D0, 0x00
  75. 000000AE  60F6                     bra        -0x8 /* 000000A6 */
  76. fn000000B0:
  77. 000000B0  225F                     movea.l    A1, [A7]+
  78. 000000B2  205F                     movea.l    A0, [A7]+
  79. 000000B4  A029                     syscall    HLock
  80. 000000B6  4EFA FFEC                jmp        [PC - 0x14 /* 000000A4 */]
  81. fn000000BA:
  82. 000000BA  225F                     movea.l    A1, [A7]+
  83. 000000BC  205F                     movea.l    A0, [A7]+
  84. 000000BE  A069                     syscall    HGetState
  85. 000000C0  1E80                     move.b     [A7], D0
  86. 000000C2  4ED1                     jmp        [A1]
  87. fn000000C4:
  88. 000000C4  225F                     movea.l    A1, [A7]+
  89. 000000C6  101F                     move.b     D0, [A7]+
  90. 000000C8  205F                     movea.l    A0, [A7]+
  91. 000000CA  A06A                     syscall    HSetState
  92. 000000CC  4ED1                     jmp        [A1]
  93.